﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Tailoring
{
    public partial class frminvoice : Form
    {
        int oid;

        public int Oid
        {
            get { return oid; }
            set { oid = value; }
        }
        int cid;

        public int Cid
        {
            get { return cid; }
            set { cid = value; }
        }
        public frminvoice()
        {
            InitializeComponent();
        }

        private void frminvoice_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'dsinvoice.dtdelivery' table. You can move, or remove it, as needed.
            this.dtdeliveryTableAdapter.Fill(this.dsinvoice.dtdelivery,oid,cid);

            this.reportViewer1.RefreshReport();
        }
    }
}
